import request from '@/utils/request'

// 测试
export function getwholeData(params) {
	return request({
		url: `https://napi.uc.cn/3/classes/feiyan_config/objects`,
		method: 'get',
		params
	})
}
// 测试
export function getcityData(params) {
	return request({
		url: `https://napi.uc.cn/3/classes/feiyan_config/objects`,
		method: 'get',
		params
	})
}
// 获取sign接口
export function createsign(data) {
	return request({
		url: `api/api-gateway/jpaas-jags-server/interface/createsign`,
		method: 'post',
		data
	})
}
// 获取sign接口
export function gateway(data) {
	return request({
		url: `api/api-gateway/jpaas-jags-server/interface/gateway.do`,
		method: 'post',
		data
	})
}
// 获取字典
export function getDict(dictType) {
	return request({
		url: `/system/dict/data/type/${dictType}`,
		method: 'get',
	})
}
// 获取核酸接口
export function qrHScode(data) {
	return request({
		url: `http://60.211.225.28:8301/fangyi/qrcode`,
		method: 'post',
		data
	})
}
// 获取街道信息
export function getAreaList(params) {
	return request({
		url: `/system/area/listByParent`,
		method: 'get',
		params
	})
}
